package com.util.qsl;


import java.sql.Connection;
import java.sql.DriverManager;

public class Dbutil {
      public Connection getConnection() {
	  Connection c=null;
	  try {
	        Class.forName("com.mysql.cj.jdbc.Driver");
	        c= DriverManager.getConnection("jdbc:mysql://localhost:3306/project2?serverTimezone=UTC","root","root");
	  }catch (Exception e) {
	        e.printStackTrace();
	  }
	  return c;
      }
}
